﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Domain
{
    /// <summary>
    /// 工单表
    /// </summary>
    [SugarTable("Tickets")]
    public class Tickets
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int TickId { get; set; }

        [SugarColumn(ColumnDescription = "工单编号", Length = 255)]
        public string ?TickCode { get; set; }

        [SugarColumn(ColumnDescription = "工单名称", Length = 255)]
        public string ?TickName { get; set; }

        [SugarColumn(ColumnDescription = "生产编号", Length = 255)]
        public string ?ProCode { get; set; }

        [SugarColumn(ColumnDescription = "工单日期")]
        public DateTime Tiketime { get; set; }

        [SugarColumn(ColumnDescription = "负责人", Length = 255)]
        public string ?TickProple { get; set; }

        [SugarColumn(ColumnDescription = "备注", Length = 5000)]
        public string ?TickDesc { get; set; }
    }
}
